﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;

namespace ZL.CRM.CommonEntity.AccOpr
{
    public class JfQianzhYwCore:YwCoreCommon
    {
        /// <summary>
        ///  使用积分（正值）
        /// </summary>
        public int Oprjf { get; set; }


        /// <summary>
        ///  提交json(da忽略)
        /// </summary>
        public string Oprjson { get; set; }

    }
    public class JfQianzhYwCoreMapper : ClassMapper<JfQianzhYwCore>
    {
        public JfQianzhYwCoreMapper()
        {
            Table("#ywcore");
            Map(f => f.Oprcardno).Column("Oprcardno");
            Map(f => f.Oprctype).Column("Oprctype");
            Map(f => f.Oprtime).Column("Oprtime");
            Map(f => f.Oprbrid).Column("Oprbrid");
            Map(f => f.Oprbrname).Column("Oprbrname");
            Map(f => f.Oprjf).Column("Oprjf");
            Map(f => f.Oprsno).Column("Oprsno");
            Map(f => f.Oprjson).Column("Oprjson");

        }

    }
}
